{"version":3,"file":"script.min.js","sources":["script.js"],"names":["BX","namespace","Main","EventListUserSelector","this","_id","_search_input","_data_input","_componentName","_componentContainer","_componentObj","_serviceContainer","_zIndex","_dlg","_dlgDisplayed","_currentUser","_searchKeyHandler","delegate","_handleSearchKey","_searchFocusHandler","_handleSearchFocus","_externalClickHandler","_handleExternalClick","_clearButtonClickHandler","_hadleClearButtonClick","_EventListUserSelectorInitCounter","prototype","initialize","id","settings","type","isNotEmptyString","Math","random","isElementNode","_clearButton","findPreviousSibling","className","_initializeEventListUserSelector","_adjustUser","document","body","setZIndex","_deleteButton","bind","proxy","value","style","display","objName","window","setTimeout","onSelect","_handleUserSelect","searchInput","setSelected","open","isDomNode","PopupWindow","autoHide","draggable","closeByEsc","offsetLeft","offsetTop","zIndex","bindOptions","forceBindPosition","content","events","onPopupShow","onPopupClose","parentNode","removeChild","appendChild","destroy","onPopupDestroy","show","parseInt","name","getZIndex","i","isNaN","close","select","user","_onBeforeDelete","unbind","remove","e","event","target","srcElement","findParent","attribute","search","_onFocus","items","create","delay","self","createIfNotExists","deletePopup","item"],"mappings":"AAAAA,GAAGC,UAAU,gCACbD,IAAGE,KAAKC,sBAAwB,WAE/BC,KAAKC,IAAM,EACXD,MAAKE,cAAgB,IACrBF,MAAKG,YAAc,IACnBH,MAAKI,eAAiB,EACtBJ,MAAKK,oBAAsB,IAC3BL,MAAKM,cAAgB,IACrBN,MAAKO,kBAAoB,IACzBP,MAAKQ,QAAU,CACfR,MAAKS,KAAO,IACZT,MAAKU,cAAgB,KACrBV,MAAKW,eAELX,MAAKY,kBAAoBhB,GAAGiB,SAASb,KAAKc,iBAAkBd,KAC5DA,MAAKe,oBAAsBnB,GAAGiB,SAASb,KAAKgB,mBAAoBhB,KAChEA,MAAKiB,sBAAwBrB,GAAGiB,SAASb,KAAKkB,qBAAsBlB,KACpEA,MAAKmB,yBAA2BvB,GAAGiB,SAASb,KAAKoB,uBAAwBpB,KAEzEA,MAAKqB,kCAAoC,EAG1CzB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